using System;
using System.Collections.Generic;
using System.Text;

namespace Colman.Rpg.Messaging
{
    /// <summary>
    /// Represents a base message for requests from the server.
    /// </summary>
    [Serializable]
    public abstract class RequestMessage
    {
        #region string UserName { get; set; } (username)
        private string username;

        /// <summary>
        /// Gets or sets the name of the user requesting.
        /// </summary>
        public string UserName
        {
            [System.Diagnostics.DebuggerStepThrough]
            get
            {
                return this.username;
            }
            [System.Diagnostics.DebuggerStepThrough]
            set
            {
                if (this.username != value)
                {
                    this.username = value;
                }
            }
        }
        #endregion
    }
}
